package net.maku.kyy.constant;

/**
 * kyy数据存储redis的key
 */
public interface KyyRedisKeyConstant {

    /**
     * 帖子的key
     */
    String KYY_FORUM = "kyy:forum";
    /**
     * 帖子点赞用户的key
     */
    String KYY_FORUM_LIKE =KYY_FORUM+":like";
    /**
     * 回复的key
     */
    String REPLAY =":replay";
    /**
     * 帖子评论的key
     */
    String KYY_FORUM_REPLAY =KYY_FORUM+REPLAY;
    /**
     * KYY用户的key
     */
    String KYY_USER ="kyy:user";
    /**
     * 禁用评论功能的的key
     * 最终的key: kyy:user:8:replay:ban
     */
    String REPLAY_BAN=REPLAY+":ban";
    /**
     * 记录用户信息的key
     */
    String RECORD = ":record";
    /**
     * 记录用户评论数量的key
     */
    String REPLAY_COUNT = REPLAY+":count";
}
